package cn.wtg.kotlindemo.testMvvm

import android.view.View
import androidx.databinding.ObservableField
import cn.wtg.kotlinlib.baseUi.BaseActivity
import cn.wtg.kotlinlib.baseViewModel.BaseActivityLifecycleVM

/**
 * author: wtg
 * time: 2022/11/28
 * desc:
 */
class MvvmViewModel(mActivity: BaseActivity) : BaseActivityLifecycleVM(mActivity) {
    var content = ObservableField("测试")

    fun onClickContent(view:View) {
        content.set("改变了值")
    }
}